package com.huangyong.service;

import java.util.List;

import com.huangyong.entity.User;

public interface UserService {

	int login(String username, String password);
	
	int register(User user);
	
	int deleteUser(String username);
	
	int findPwd(User user);
	
	int update(User user);

	User findById (String uid);
	
	User findByUsername (String username);
	
	List<User> selectAllUser();
	
	String EncoderByMd5(String str);
}
